package com.jdjt.dams.entity;



import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

public class DocIdentityModel extends Model<DocIdentityModel> {
	
	
	/**
	 * 档号格式生成
	 */
	private static final long serialVersionUID = -6172387360981248582L;
	public static final DocIdentityModel dao =new DocIdentityModel();
	
	public Page<DocIdentityModel> paginate(int pageNumber,int pageSize){
		String sql = "from da_doc_no order by id asc";
		return paginate(pageNumber, pageSize,"select *", sql);	
	}		

}
